home *** CD-ROM | disk | FTP | other *** search
-
-
-
- XXXXEEEEVVVVIIII((((3333XXXX11111111)))) XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666)))) XXXXEEEEVVVVIIII((((3333XXXX11111111))))
-
-
-
- NNNNAAAAMMMMEEEE
- XeviQueryExtension, XeviQueryVersion, XeviGetVisualInfo - X
- Extended Visual Information functions
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- #include <X11/extensions/XEVI.h>
-
- Bool XeviQueryExtension (Display *dpy);
-
- Bool XeviQueryVersion (Display *dpy,
- int *major_version_return,
- int *minor_version_return);
-
- int XeviGetVisualInfo (Display *dpy, VisualID *visual,
- int n_visual, ExtendedVisualInfo ** evi_return,
- int * n_info_return);
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- The X11 Extended Visual Information extension (EVI) allows a
- client to determine information about core X visuals beyond
- what the core protocol provides.
-
- The EVI application programming library contains the
- interfaces described below. With the exception of
- XXXXeeeevvvviiiiQQQQuuuueeeerrrryyyyEEEExxxxtttteeeennnnssssiiiioooonnnn,,,, if any of these routines are called with
- a display that does not support the extension, the
- ExtensionErrorHandler (which can be set with
- XXXXSSSSeeeettttEEEExxxxtttteeeennnnssssiiiioooonnnnEEEErrrrrrrroooorrrrHHHHaaaannnnddddlllleeeerrrr and functions the same way as
- XXXXSSSSeeeettttEEEErrrrrrrroooorrrrHHHHaaaannnnddddlllleeeerrrr) will be called and the function will then
- return.
-
- XXXXeeeevvvviiiiQQQQuuuueeeerrrryyyyEEEExxxxtttteeeennnnssssiiiioooonnnn returns TTTTrrrruuuueeee if the Extended Visual
- Information extension is available on the given display. A
- client must call XXXXeeeevvvviiiiQQQQuuuueeeerrrryyyyEEEExxxxtttteeeennnnssssiiiioooonnnn before calling any other
- EVI function in order to negotiate a compatible protocol
- version; otherwise the client will get undefined behavior
- (EVI may or may not work).
-
- XXXXeeeevvvviiiiQQQQuuuueeeerrrryyyyVVVVeeeerrrrssssiiiioooonnnn returns TTTTrrrruuuueeee if the request succeeded; the
- values of the major and minor protocol version supported by
- the server are returned in _m_a_j_o_r__v_e_r_s_i_o_n__r_e_t_u_r_n and
- _m_i_n_o_r__v_e_r_s_i_o_n__r_e_t_u_r_n.
-
- XXXXeeeevvvviiiiGGGGeeeettttVVVViiiissssuuuuaaaallllIIIInnnnffffoooo returns a list of ExtendedVisualInfo
- structures that describe visual information beyond that
- supported by the core protocol. This includes layer
- information relevant for systems supporting overlays and/or
- underlay planes, and information that allows applications
- better to determine the level of hardware support for
- multiple colormaps. XeviGetVisualInfo returns SSSSuuuucccccccceeeessssssss if
- successful, or an X error otherwise. If the argument _v_i_s_u_a_l
- is NULL, then information for all visuals of all screens is
-
-
-
- Page 1 (printed 10/3/02)
-
-
-
-
-
-
- XXXXEEEEVVVVIIII((((3333XXXX11111111)))) XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666)))) XXXXEEEEVVVVIIII((((3333XXXX11111111))))
-
-
-
- returned. Otherwise, it's a pointer to a list of visuals for
- which extended visual information is desired. _n__v_i_s_u_a_l is
- the number of elements in the array visual. _e_v_i__r_e_t_u_r_n
- returns a pointer to a list of ExtendedVisualInfo. When
- done, the client should free the list using XFree.
- _n__i_n_f_o__r_e_t_u_r_n returns the number of elements in the array
- evi_return.
-
- The EEEExxxxtttteeeennnnddddeeeeddddVVVViiiissssuuuuaaaallllIIIInnnnffffoooo structure has the following fields:
- VisualID _c_o_r_e__v_i_s_u_a_l__i_d
- int _s_c_r_e_e_n
- int _l_e_v_e_l
- unsigned int _t_r_a_n_s_p_a_r_e_n_c_y__t_y_p_e
- unsigned int _t_r_a_n_s_p_a_r_e_n_c_y__v_a_l_u_e
- unsigned int _m_i_n__h_w__c_o_l_o_r_m_a_p_s
- unsigned int _m_a_x__h_w__c_o_l_o_r_m_a_p_s
- unsigned int _n_u_m__c_o_l_o_r_m_a_p__c_o_n_f_l_i_c_t_s
- VisualID * _c_o_l_o_r_m_a_p__c_o_n_f_l_i_c_t_s
-
- The combination of _c_o_r_e__v_i_s_u_a_l__i_d and _s_c_r_e_e_n number uniquely
- specify the visual being described.
-
- _l_e_v_e_l returns the level number for the visual, 0 for normal
- planes, > 0 for overlays, < 0 for underlays.
-
- _t_r_a_n_s_p_a_r_e_n_c_y__t_y_p_e returns the type of transparency supported
- by the visual. XEVI_TRANSPARENCY_NONE if there are no
- transparent pixels, XEVI_TRANSPARENCY_PIXEL if the visual
- supports a transparent pixel, XEVI_TRANSPARENCY_MASK if the
- visual supports transparent plane(s).
-
- _t_r_a_n_s_p_a_r_e_n_c_y__v_a_l_u_e returns the pixel/plane value to set for
- transparency if transparency_type isn't
- XEVI_TRANSPARENCY_NONE.
-
- _m_i_n__h_w__c_o_l_o_r_m_a_p_s and _m_a_x__h_w__c_o_l_o_r_m_a_p_s return the minimum and
- maximum number of hardware colormaps backing up the visual.
-
- _n_u_m__c_o_l_o_r_m_a_p__c_o_n_f_l_i_c_t_s returns the number of elements in
- _c_o_l_o_r_m_a_p__c_o_n_f_l_i_c_t_s. This array returns a list of visuals
- that may cause conflicts in the use of the hardware
- colormap. For example, if a 12-bit hardware colormap is
- overloaded to support 8-bit colormaps, the corresponding 8-
- bit visuals would conflict with the 12-bit visuals.
-
-
- EEEERRRRRRRROOOORRRRSSSS
- XXXXeeeevvvviiiiGGGGeeeettttVVVViiiissssuuuuaaaallllIIIInnnnffffoooo will return _B_a_d_V_a_l_u_e if passed an illegal
- visual ID, _B_a_d_A_c_c_e_s_s if the X server does not respond,
- _B_a_d_A_l_l_o_c if there is a memory allocation failure.
-
-
-
-
-
- Page 2 (printed 10/3/02)
-
-
-
-